package com.example.a2032.constant;

/**
 * Created by Administrator on 2018/1/17.
 */

public class DeviceConst {
    public static final byte CMD_SET_TIME = (byte)0x01;
    public static final byte CMD_GET_TIME = (byte)0x41;
    public static final byte CMD_LowBattery= (byte)0x29;
    public static final byte CMD_Set_UseInfo = (byte)0x02;
    public static final byte CMD_GET_USERINFO =  (byte) 0x42;



    public static final byte CMD_Start_Ota = (byte)0x47;
    public static final byte CMD_Get_Version = (byte)0x27;
    public static final byte CMD_Mcu_Reset = (byte)0x2e;

    public static final byte CMD_Enable_Activity = (byte)0x09;
    public static final byte CMD_Reset = (byte)0x12;
    public static final byte CMD_Get_Address = (byte)0x22;

    public static final byte CMD_PPGControl = (byte)0x28;


    public static final byte CMD_Set_DeviceID = (byte)0x05;

    public static final byte CMD_Get_SleepData = (byte)0x53;

    public static final byte CMD_DeviceSend = (byte)0x88;

    public static final byte CMD_EnterEcg = (byte) 0x16;
    public static final byte CMD_OpenSerialPort= (byte) 0x73;
    public static final byte CMD_DisableSerialPort= (byte) 0x15;
    public static final byte CMD_GetTemp= (byte) 0x06;
    public static final byte CMD_EnterDfu= (byte) 0x47;

}
